#pragma once


#include <memory>
#include <string>
#include <vector>

namespace rocksdb {
    class DB;
    class ColumnFamilyHandle;
};

class Helper {
public:
    std::shared_ptr<rocksdb::DB> createDb(const std::string & name);
    std::shared_ptr<rocksdb::DB> createDbCfs(const std::string & dbname, std::vector<rocksdb::ColumnFamilyHandle *> & handles);
private:
    bool dbPathExist(const std::string & name);
};
